home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d3 / ks20_1.arc / KWIKLOAD.BAT < prev    next >
DOS Batch File  |  1990-12-16  |  4KB  |  85 lines

  1. echo off;
  2. verify on
  3. if %1x==x goto explain
  4. if not exist ks20data.exe goto oops2
  5. cls
  6. echo ┌───────────────────────────────────────────────────────────┐  
  7. echo │            Installation of KWIKSTAT Version 2.00          │
  8. echo │                      on HARD DISK %1                      │
  9. echo │                5 1/4 Inch Disk Load Program               │
  10. echo │                                                           │
  11. echo │      Please follow the instructions on the screen.        │
  12. echo └───────────────────────────────────────────────────────────┘
  13. echo ┌───────────────────────────────────────────────────────────┐
  14. echo │ This routine loads the KWIKSTAT program onto a hard disk  │
  15. echo │ subdirectory named %1\KWIKSTAT. If this directory already │
  16. echo │ exists, the old version is replaced with the new.         │
  17. echo └───────────────────────────────────────────────────────────┘  
  18. md %1\KWIKSTAT
  19. echo ┌───────────────────────────────────────────────────────────┐  
  20. echo │ NOTE:If you get the message "unable to create directory"  │
  21. echo │ during installation, it means the KWIKSTAT directory is   │
  22. echo │ already created. The loading process will still be normal.│  
  23. echo └───────────────────────────────────────────────────────────┘
  24. echo ┌───────────────────────────────────────────────────────────┐  
  25. echo │ If you are not certain you wish to continue, press        │
  26. echo │ CTRL-BREAK. If you are certain you wish to continue, then │
  27. echo └───────────────────────────────────────────────────────────┘  
  28. PAUSE
  29. copy *.exe %1\kwikstat
  30. copy order %1\kwikstat  
  31. copy ks.bat %1\kwikstat
  32. copy ksmenu.ini %1\kwikstat
  33. :disk2
  34. echo ┌───────────────────────────────────────────────────────────┐  
  35. echo │ PLACE PROGRAM DISTRIBUTION DISKETTE NUMBER 2 IN DEFAULT   │
  36. echo │ DRIVE, AND PRESS ENTER...                                 │  
  37. echo └───────────────────────────────────────────────────────────┘  
  38. pause                                                               
  39. if not exist KS20UTIL.EXE goto oops
  40. copy *.exe %1\kwikstat
  41. copy *.hlp %1\kwikstat  
  42. copy *.dbf %1\kwikstat
  43. copy *.dat %1\kwikstat  
  44. copy *.com %1\kwikstat  
  45. copy *.img %1\kwikstat
  46. cls
  47. echo ┌───────────────────────────────────────────────────────┐
  48. echo │      INSTALLATION OF THE KWIKSTAT IS COMPLETE!        │
  49. echo │                                                       │ 
  50. echo │   If you are using a Hercules type monitor, please    │
  51. echo │   read information in manual about monitors.          │
  52. echo │                                                       │  
  53. echo │ Read the file LATENEWS.DOC for latest news and info.  │
  54. echo │                                                       │
  55. echo │ Begin KWIKSTAT from the %1\KWIKSTAT directory with    │
  56. echo │ with the command KS                                   │
  57. echo │                                                       │ 
  58. echo └───────────────────────────────────────────────────────┘
  59. %1
  60. cd\kwikstat
  61. goto End
  62. :oops2
  63. echo oops!                                          
  64. echo PROGRAM DISK 1 IS NOT IN THE DEFAULT DRIVE...
  65. goto :explain
  66. :oops
  67. echo oops!
  68. echo PROGRAM DISK 2 IS NOT IN THE DEFAULT DRIVE...
  69. goto :disk2
  70. :Explain
  71. echo ┌───────────────────────────────────────────────────────┐  
  72. echo │   The format of this command is:                      │
  73. echo │                                                       │  
  74. echo │   KWIKLOAD d:                                         │
  75. echo │                                                       │
  76. echo │   where d: is the name of the disk drive on which you │
  77. echo │   want the program installed.  For example, if you    │
  78. echo │   have KWIKSTAT disk 1 in the A: drive and you want   │
  79. echo │   to install the program on the C: drive, the command │
  80. echo │   would look something like this . . .                │
  81. echo │                                                       │
  82. echo │   "A>KWIKLOAD C:"                                     │
  83. echo └───────────────────────────────────────────────────────┘
  84. :End
  85.